export interface UserInfo {
    id?: string;
    name?: string;
    username?: string;
    urlType?: number; // 跳转地址
    type?: string; // 医师类别
    isAuthentication?: string; // 是否认证
    phone?: string;
    creationTime?: string;
    email?: string;
    avatar?: string;
    verification?: string;
    password?: string;
    isRead?: boolean;
    // 个人信息
    title?: string;
    csrq?: string; // 出生日期
    address?: string; // 执业地点
    ownerOrg?: string; // 主执业机构
    secondOrg?: string; // 次执业机构
    level?: string; // 医师级别
    qualified?: string; // 任职资格
    range?: string; // 执业范围
    approvalOrg?: string; // 审批机关
    approvalDate?: string; // 审批日期
    yh?: string; // 医生或护士
    scsm?: string; // 擅长
    grphoto?: string; // 头像照片
}

export interface ListBasicItem {
    name?: string;
    id?: number | string;
    url?: string;
    path?: string;
    icon?: string;
    fieldMapType?: string;
}

export interface ColumnItem {
    children?: Array<ColumnItem>
    id?: number | string;
    name?: string;
    bg?: string;
    icon?: string; // icon path
    navigation?: string; // modal path
    path?: string;
    type?: string;
    description?: string;
    familyHost?: number | string;
    hide?: boolean;
    orderNum?: number;
}


export interface PhoneVerification {
    phone?: string;
    code?: string;
    oldPassword?: string;
    password?: string;
}

export interface CertificateItem {
    id?: string;
    name?: string;
    type?: number | string;
    number?: string;
    idCard?: string; // id card
    certificateName?: string; // certificate name
    icon?: string;
    photo?: string;
    bgColor?: string;
    userName?: string;
    depositId?: string;
    tradingValue?: string;
    // 执业证书
    gender?: string;
    birthDay?: string;
    // 个人信息
    title?: string;
    csrq?: string; // 出生日期
    address?: string; // 执业地点
    ownerOrg?: string; // 主执业机构
    secondOrg?: string; // 次执业机构
    level?: string; // 医师级别
    qualified?: string; // 任职资格
    range?: string; // 执业范围
    approvalOrg?: string; // 审批机关
    approvalDate?: string; // 审批日期
    yh?: string; // 医生或护士
    scsm?: string; // 擅长
    grphoto?: string; // 头像照片
}

export interface NewItem {
    createDate?: string;
    filepath?: string;
    id?: string;
    title?: string;
    url?: string; // ful url for image
}

export interface PublishItem {
    title?: string;
    id?: number | string;
    module?: number;
    filepath?: string;
    content?: string;
    remarks?: string;
    createUser?: string;
    createDate?: string;
    zt?: any;
}

export interface ApplicationItem {
    id?: string;
    app_name?: string;
    app_no?: string;
    app_icon?: string;
    app_org?: string;
    app_join?: string;
    app_address?: string;
    app_audit?: string | number;
    app_status?: string;
    create_date?: string;
    technical?: string;
    remarks?: string;
    bg?: string;
}
